package org.hibernate.entity;

import java.util.Date;

/**
 * NewsTitle entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class NewsTitle implements java.io.Serializable {


	/** serialVersionUID */
	private static final long serialVersionUID = 1L;

	// Fields

	private Integer id;
	private String title;
	private String smailtitle;
	private Integer uid;
	private Integer accountNumber;
	private String author;
	private String copyfrom;
	private String fromUrl;
	private String picurl;
	private Integer ispic;
	private Integer yz;
	private String keywords;
	private String description;
	private Integer iftop;
	private Integer ifelite;
	private Integer pages;
	private String edituser;
	private Integer pv;
	private Integer cid;
	private String cname;
	private Date posttime;
	private Date edittime;
	
	// (20131223 add by xy) start....
	/** 新闻类型 */
	private Integer newType;

	/** 回收站 */
	private Integer red;
	// (20131223 add by xy) end....
    
	private String editor;
	
	// Constructors
	/** default constructor */
	public NewsTitle() {
	}

	/** minimal constructor */
	public NewsTitle(Integer cid) {
		this.cid = cid;
	}

	/** full constructor */
	public NewsTitle(String title, String smailtitle, Integer uid,
			Integer accountNumber, String author, String copyfrom,
			String fromUrl, String picurl, Integer ispic, Integer yz,
			String keywords, String description, Integer iftop,
			Integer ifelite, Integer pages, String edituser, Integer pv,
			Integer cid, String cname, Date posttime, Date edittime,Integer newType,Integer red,String editor) {
		this.title = title;
		this.smailtitle = smailtitle;
		this.uid = uid;
		this.accountNumber = accountNumber;
		this.author = author;
		this.copyfrom = copyfrom;
		this.fromUrl = fromUrl;
		this.picurl = picurl;
		this.ispic = ispic;
		this.yz = yz;
		this.keywords = keywords;
		this.description = description;
		this.iftop = iftop;
		this.ifelite = ifelite;
		this.pages = pages;
		this.edituser = edituser;
		this.pv = pv;
		this.cid = cid;
		this.cname = cname;
		this.posttime = posttime;
		this.edittime = edittime;
		this.newType = newType;
		this.red =  red;
		this.editor = editor;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSmailtitle() {
		return this.smailtitle;
	}

	public void setSmailtitle(String smailtitle) {
		this.smailtitle = smailtitle;
	}

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Integer getAccountNumber() {
		return this.accountNumber;
	}

	public void setAccountNumber(Integer accountNumber) {
		this.accountNumber = accountNumber;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getCopyfrom() {
		return this.copyfrom;
	}

	public void setCopyfrom(String copyfrom) {
		this.copyfrom = copyfrom;
	}

	public String getFromUrl() {
		return this.fromUrl;
	}

	public void setFromUrl(String fromUrl) {
		this.fromUrl = fromUrl;
	}

	public String getPicurl() {
		return this.picurl;
	}

	public void setPicurl(String picurl) {
		this.picurl = picurl;
	}

	public Integer getIspic() {
		return this.ispic;
	}

	public void setIspic(Integer ispic) {
		this.ispic = ispic;
	}

	public Integer getYz() {
		return this.yz;
	}

	public void setYz(Integer yz) {
		this.yz = yz;
	}

	public String getKeywords() {
		return this.keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getIftop() {
		return this.iftop;
	}

	public void setIftop(Integer iftop) {
		this.iftop = iftop;
	}

	public Integer getIfelite() {
		return this.ifelite;
	}

	public void setIfelite(Integer ifelite) {
		this.ifelite = ifelite;
	}

	public Integer getPages() {
		return this.pages;
	}

	public void setPages(Integer pages) {
		this.pages = pages;
	}

	public String getEdituser() {
		return this.edituser;
	}

	public void setEdituser(String edituser) {
		this.edituser = edituser;
	}

	public Integer getPv() {
		return this.pv;
	}

	public void setPv(Integer pv) {
		this.pv = pv;
	}

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getCname() {
		return this.cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public Date getPosttime() {
		return this.posttime;
	}

	public void setPosttime(Date posttime) {
		this.posttime = posttime;
	}

	public Date getEdittime() {
		return this.edittime;
	}

	public void setEdittime(Date edittime) {
		this.edittime = edittime;
	}

	/**
	 * @return the newType
	 */
	public Integer getNewType() {
		return newType;
	}

	/**
	 * @param newType the newType to set
	 */
	public void setNewType(Integer newType) {
		this.newType = newType;
	}

	/**
	 * @return the red
	 */
	public Integer getRed() {
		return red;
	}

	/**
	 * @param red the red to set
	 */
	public void setRed(Integer red) {
		this.red = red;
	}
	
	public void setEditor(String editor){
		this.editor = editor;
	}
	public String getEditor(){
		return this.editor;
	}
}